<? // sites - list of sites

$query = "select stt.name as stt_nm, stt.description as stt_desc, s.url, s.name as sit_nm, s.description as sit_desc
	from	site_type stt
	join	site s using( stt_id )
	order by stt.stt_sq, sit_sq";

$arr = db_get_rcds( $query );


ajax_exit( 'success', 'records from server', array( 'rows'=>$arr ) );

?>
